package createPattern.factoryPattern.abstractFactory.carProduct;

public class Car {

	private String name = "";

	private String color = "";

	private String type = "";

	public Car(String name, String color, String type) {
		this.name = name;
		this.color = color;
		this.type = type;
	}

	public void run() {
		System.out.println("A " + color + " " + type + " of " + name + " is Running!");
	}

	public String getName() {
		return name;
	}

	public String getColor() {
		return color;
	}

	public String getType() {
		return type;
	}

}
